package com.example.springboot.mapper;

import com.example.springboot.controller.request.BaseRequest;
import com.example.springboot.entity.Activity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ActivityMapper {

    List<Activity> list();

    List<Activity> listByCondition(BaseRequest baseRequest);

    void save(Activity activity);

    void deleteById(Integer id);

    Activity getById(Integer id);

    void update(Activity activity);

    

}
